/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-11-02
 * Time: 17:49
 */
public class Demo6 {
    public static void main(String[] args) {
        Thread t = new Thread(() -> {
            Thread.interrupted();

        });
        t.interrupt();
        t.isInterrupted();
    }
}
